﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.AccessControl
{
    /// <summary>
    /// Represents an Access Control Principal, representing a user management object, e.g. a user, group, or role.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public class AccessControlPrincipal
    {
        /// <summary>
        /// The id of the principal.
        /// </summary>
        [DataMember(Name = "principalId")]
        public string PrincipalId
        {
            get;
            set;
        }
    }
}
